Skip to content

docs: align toolchain pin comments to 1.99.1 (#13303) - #13359

Merged
dezren39 merged 1 commit into
mainfrom
lane-yh-13303
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
lane-yh-13303

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Comment-only alignment of the toolchain pin descriptions with the file that is the single source of truth, pkgs/id/rust-toolchain.toml (channel = "1.99.1" since PR #7205, merged 2026-11-13).

Six sites, all comment lines, no build behaviour changes:

  • nix-common.nix — "channel (currently 1.99.0) is the single place the version lives" → 1.99.1; and the cargo-llvm-cov note "fails under the pinned Cargo 1.99.0" → 1.99.1 (the id toolchain pin: comment family still says 1.99.0 while pkgs/id/rust-toolchain.toml pins 1.99.1 #13304-only site: the note is a present-tense claim about the currently pinned Cargo — the doCheck = false remedy is in force against today's pin — so it tracks the pin).
  • nixos/environment/default.nix — "(channel 1.99.0)", "(1.99.0 + clippy / rustfmt)", "Pinned Rust toolchain (1.99.0)" → 1.99.1.
  • pkgs/id/flake.nix — "builds of the same pinned 1.99.0" → 1.99.1.

Baseline question (ported from #13304), settled from git history, no files changed: pkgs/id/rust-toolchain.toml carried channel 1.99.0 from 2026-10-11 (ade59db) until PR #7205 bumped it to 1.99.1, merged to main 2026-11-13T10:25:14Z (d4d80fb). So pkgs/id/benches/baseline.txt's 2026-11-10 measurement record (rustc 1.99.0) is consistent with the pin of its day. The 2026-11-14 (and 2026-11-22) records also state rustc 1.99.0, after the pin had moved — but those records state the compiler that actually ran on the reference machine, and the issue's own rule is that measurement records are not rewritten on inference, so they stand untouched. Same for BASELINES.md / baseline.jsonl and the tests/toolchain_pin.rs parser fixtures.

Verification: diff touches comment lines only (6 lines, 3 files); grep for 1.99.0 across the three files afterward returns nothing; all three files pass nix-instantiate --parse; pkgs/id toolchain-pin test run recorded on the issue.


See it in action
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

pkgs/id/rust-toolchain.toml has pinned channel 1.99.1 since PR #7205
(2026-11-13), but six comment sites in the three files that resolve
their toolchain from that file still described it as 1.99.0:

- nix-common.nix: channel (currently 1.99.0) note above
  fromRustupToolchainFile, and the cargo-llvm-cov note (its test suite
  fails under the pinned Cargo — a present-tense claim about the
  current pin, so it tracks the pin to 1.99.1).
- nixos/environment/default.nix: (channel 1.99.0), (1.99.0 + clippy /
  rustfmt), Pinned Rust toolchain (1.99.0).
- pkgs/id/flake.nix: builds of the same pinned 1.99.0.

Comment-only; no build behaviour changes. benches/baseline.txt
measurement records and tests/toolchain_pin.rs fixtures deliberately
untouched: they record the compiler that actually ran.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 51 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fe204ac9-8e0e-41d9-83f8-fe1d2025ab6d
Commits

Reviewing files that changed from the base of the PR and between 0d91923 and 37ed757.

Files selected for processing: 3

  • nix-common.nix
  • nixos/environment/default.nix
  • pkgs/id/flake.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T14:15:50.660965Z 37ed757 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant